@scrider/formatter 1.4.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -2615,10 +2615,13 @@ function resolveDocumentPresentation(presentation) {
2615
2615
  return { lineSpacing, textIndentCm, listBlockIndentCm };
2616
2616
  }
2617
2617
  var LINE_HEIGHT_TAGS = /* @__PURE__ */ new Set(["p", "li", "blockquote"]);
2618
- var TEXT_INDENT_TAGS = /* @__PURE__ */ new Set(["p", "li"]);
2618
+ var TEXT_INDENT_TAGS = /* @__PURE__ */ new Set(["p"]);
2619
2619
  function documentPresentationListWrapperStyleParts(resolved) {
2620
2620
  if (!resolved?.listBlockIndentCm) return [];
2621
- return [`padding-left:calc(1.5em + ${resolved.listBlockIndentCm}cm)`];
2621
+ return [
2622
+ `padding-left:1.25em`,
2623
+ `margin-left:${resolved.listBlockIndentCm}cm`
2624
+ ];
2622
2625
  }
2623
2626
  function documentPresentationStyleParts(tag, resolved) {
2624
2627
  if (!resolved) return [];